package com.ruoyi.web.course.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.web.course.domain.TrainVideoPlayRecord;
import com.ruoyi.web.course.dto.TrainVideoPlayRecordDto;

/**
 * 视频播放记录Mapper接口
 *
 * @author 范书铭
 * @date 2024-10-10
 */
public interface TrainVideoPlayRecordMapper extends BaseMapper<TrainVideoPlayRecord> {

    /**
     * 查询视频播放记录列表
     *
     * @param trainVideoPlayRecord 视频播放记录
     * @return 视频播放记录集合
     */
    public List<TrainVideoPlayRecord> selectTrainVideoPlayRecordList(TrainVideoPlayRecord trainVideoPlayRecord);

    List<TrainVideoPlayRecordDto> selectVideoPlayRecordDto(TrainVideoPlayRecord trainVideoPlayRecord);
}